home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / bbs / maxkit25.zip / MAXAPP00.ARJ / MAXAPP00.MEX < prev    next >
Text File  |  1996-11-16  |  1KB  |  39 lines

  1.  
  2. /////////////////////////////////////////////////////////////////////////////
  3. // File: MAXAPP00.mex
  4. // Copyright 1996 1997 by Gerry Ellison.  All rights reserved.
  5. // free for non-commerical use
  6. // Desc. Display and allows downloading TMT-APP.TXT
  7. //////////////////////////////////////////////////////////////////////////////
  8. #include <max.mh>
  9.  
  10. int main()
  11. {                                                //Begin log
  12.  
  13.     char: Ch, nonstop;
  14.      int: local;
  15.  
  16.  struct _instancedata: id;
  17.  
  18.     nonstop := 0;
  19.     print("\f"COL_LCYAN);
  20.     display_file("D:\\Files\\New\\TMT-APP.TXT", nonstop);
  21.  
  22.     Ch := input_list("|Yn", 0, "", "",
  23.           COL_GRAY"\nDo you want to Download the "
  24.           COL_YELLOW"TMT-APP.TXT"COL_GRAY" now");
  25.  
  26.     if (Ch = 89 or Ch =124) {
  27.         menu_cmd(618,"");                             //MNU_CHG_PROTOCOL
  28.         print("\f"+strpadleft(" ",16,' ')+COL_WHITE
  29.         "Thanks for Downloading the Application text.\n\n"COL_GRAY);
  30.         display_file("C:\\Max\\MaxKit\\#TMT.BBS",nonstop);
  31.         input := "D:\\Files\\New\\TMT-APP.TXT |";
  32.         tag_queue_file(input,FFLAG_NOTIME | FFLAG_NOBYTES);
  33.         menu_cmd(505,"");                        //MNU_FILE_DOWNLOAD
  34.         if (id.local = 0)
  35.             menu_cmd(106,"");                    //MNU_PRESS_ENTER
  36.         }
  37.    return 0;
  38. }                                                //end main program
  39.